package com.yuexunit.finance.member.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
*@version 创建时间：2016年9月27日 上午10:41:57
*@author NTBK-021-1006
*类说明
*/

@Entity
@Table(name = "SUPPLIER_COMMISSION_INFO")
public class SupplierCommissionInfoEntity {
	/** 企业ID */
	@Id
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;
	
	/** 佣金级别ID */
	@Column(name = "COMMISSION_GRADE_ID")
	private Long commissionGradeId;
	
	/** 费用名称 */
	@Column(name = "EXPENSE_NAME")
	private String expenseName;
	
	/** 年化率起 */
	@Column(name = "ANNUAL_RATE_START")
	private BigDecimal annualRateStart;
	
	/** 年化率止 */
	@Column(name = "ANNUAL_RATE_END")
	private BigDecimal annualRateEnd;
	
	/** 费用比例 */
	@Column(name = "EXPENSE_RATE")
	private BigDecimal expenseRate;

	/** 有效期起 */
	@Column(name = "EFFECTIVE_DATE_START")
	private Date effectiveDateStart;
	
	/** 有效期止 */
	@Column(name = "EFFECTIVE_DATE_END")
	private Date effectiveDateEnd;
	
	/** 是否有效 */
	@Column(name = "ENABLED")
	private Boolean enabled;

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public Long getCommissionGradeId() {
		return commissionGradeId;
	}

	public void setCommissionGradeId(Long commissionGradeId) {
		this.commissionGradeId = commissionGradeId;
	}

	public String getExpenseName() {
		return expenseName;
	}

	public void setExpenseName(String expenseName) {
		this.expenseName = expenseName;
	}

	public BigDecimal getAnnualRateStart() {
		return annualRateStart;
	}

	public void setAnnualRateStart(BigDecimal annualRateStart) {
		this.annualRateStart = annualRateStart;
	}

	public BigDecimal getAnnualRateEnd() {
		return annualRateEnd;
	}

	public void setAnnualRateEnd(BigDecimal annualRateEnd) {
		this.annualRateEnd = annualRateEnd;
	}

	public BigDecimal getExpenseRate() {
		return expenseRate;
	}

	public void setExpenseRate(BigDecimal expenseRate) {
		this.expenseRate = expenseRate;
	}

	public Date getEffectiveDateStart() {
		return effectiveDateStart;
	}

	public void setEffectiveDateStart(Date effectiveDateStart) {
		this.effectiveDateStart = effectiveDateStart;
	}

	public Date getEffectiveDateEnd() {
		return effectiveDateEnd;
	}

	public void setEffectiveDateEnd(Date effectiveDateEnd) {
		this.effectiveDateEnd = effectiveDateEnd;
	}
}
